package org.springblade.modules.policy.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springblade.modules.enterprise.excel.LocalDateTimeConverter;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@ColumnWidth(25)
@HeadRowHeight(20)
@ContentRowHeight(18)
public class MatMatterExcel implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	 * 受理编号
	 */
	@ExcelProperty("受理编号")
	private String handleNum;
	/**
	 * 事项名称
	 */
	@ExcelProperty("事项名称")
	private String matterName;
	/**
	 * 提交单位
	 */
	@ExcelProperty("提交单位")
	private String handingDept;

	/**
	 * 本次办件总金额
	 */
	@ExcelProperty("本次办件总金额")
	private BigDecimal appliedCashAmount;
	/**
	 * 申报时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@ExcelProperty(value = "申报时间",converter = LocalDateTimeConverter.class)
	private LocalDateTime creatureTime;
	/**
	 * 办结时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@ExcelProperty(value = "办结时间",converter = LocalDateTimeConverter.class)
	private LocalDateTime finishTime;
	/**
	 * 审批状态
	 */
	@ExcelProperty("审批状态")
	private String handleStatus;
}
